package org.jeecg.modules.product.risk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 专项检查任务信息
 * @Author: jeecg-boot
 * @Date:   2024-06-12
 * @Version: V1.0
 */
@Data
@TableName("tb_base_check_task")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="专项检查任务信息")
public class TbBaseCheckTask implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "id")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**任务名称*/
	@Excel(name = "任务名称", width = 15)
    @Schema(description = "任务名称")
    private String taskName;
	/**任务开始日期*/
	@Excel(name = "任务开始日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "任务开始日期")
    private Date taskStartTime;
	/**任务结束日期*/
	@Excel(name = "任务结束日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "任务结束日期")
    private Date taskEndTime;
	/**任务类型*/
	@Excel(name = "任务类型", width = 15)
    @Schema(description = "任务类型")
    private String taskTypeName;
	/**任务描述*/
	@Excel(name = "任务描述", width = 15)
    @Schema(description = "任务描述")
    private String taskContent;
	/**删除标识*/
	@Excel(name = "删除标识", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @Schema(description = "删除标识")
    private String deleted;
	/**检查类型*/
	@Excel(name = "检查类型", width = 15, dicCode = "baseCheckType")
	@Dict(dicCode = "baseCheckType")
    @Schema(description = "检查类型")
    private String inspectTypeName;
	/**完成时间*/
	@Excel(name = "完成时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "完成时间")
    private Date finshTime;
	/**分解标识*/
	@Excel(name = "分解标识", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @Schema(description = "分解标识")
    private String salvaged;
	/**企业状态*/
	@Excel(name = "企业状态", width = 15, dicCode = "enterpriseStatus")
	@Dict(dicCode = "enterpriseStatus")
    @Schema(description = "企业状态")
    private String enterpriseStatus;
	/**是否涉及*/
	@Excel(name = "是否涉及", width = 15, dicCode = "isInvolves")
	@Dict(dicCode = "isInvolves")
    @Schema(description = "是否涉及")
    private String isInvolves;

    /**租户ID*/
    private Integer tenantId;
}
